package com.gsy.thread;

import java.util.concurrent.Callable;

public class CallDemo implements Callable<String> {
    @Override
    public String call() throws Exception {
        for (int i = 0; i < 1000; i++) {
            Thread.sleep(10l);
        }
        return Thread.currentThread().getName();

    }
}
